<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="cn.java71.entity.*" %>
<!--公共部分-->
<%
    Admin name=(Admin)session.getAttribute("LOGIN_USER");
    if(name== null){
        out.print("<script>alert('您没有登录，无权访问');location.replace('index.jsp');</script>");
        return;
    }
%>
<h1>欢迎你，<%=name.getUsername()%>, <a href="logout.jsp">退出</a> </h1>
